Another way how to play Video (or Audio as well) is to use MCI
interface. This could be done by using MCIcommand from the
script.
However, because the working with MCIcommand is a bit
complicated the easy MCI object was introduced.
This makes easier to play video or audio using MCI without doing much scripting. Let's say you want to play ASF so instead of bunch of MCICommand script lines you simply draw a MCI object which could play your asf automatically on page start or you can control basic functions (play, stop, close) with new script command MCIObject.
You can use it even without any scripts if you select Run
afterpage start. Then the video will simply play and finish.
To control MCI object you use MCI script command.
Note: MCI objects use the windows drivers to play selected format! User has to have Windows Media Player installed to support formats like mpeg, ASF, mpeg4 ...